package com.badger.influx.entity;

import java.time.Instant;

import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import lombok.Data;

/**
 * 负荷数据的influxdb 小时的数据实体映射
 * @author liqi
 *
 */
@Data
@Measurement(name = "m_show_load_data_day")
public class LoadDataHour {
    @Column(name = "time")
    private Instant time;

    @Column(name = "customer_id", tag = true)
    private String customerId;

    @Column(name = "val")
    private Double val;
}
